package com.wenjiang.service.impl;

import com.wenjiang.common.lang.Result;
import com.wenjiang.mapper.MallAdminMapper;
import com.wenjiang.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    // 获取用户的基本信息
    @Autowired
    MallAdminMapper mallAdminMapper;


    @Override
    public Result getAllUserInfo() {
        return Result.succ( mallAdminMapper.getAllAdmin());
    }
}
